package com.example.wangzh.developkit.control;

import android.view.View;
import android.widget.Button;

import com.example.wangzh.developkit.R;
import com.example.wangzh.developkit.base.BaseActivity;
import com.example.wangzh.developkit.popup.TestPopup;

import butterknife.BindView;
import butterknife.OnClick;

/**
 * Created by zhwang16 on 2018/3/15.
 */

public class PopupWindowActivity extends BaseActivity {

    @Override
    protected int getLayout() {
        return R.layout.activity_popup_window;
    }

    @Override
    protected void initView() {
    }

    @OnClick({R.id.btn})
    public void click(View view) {
        switch (view.getId()) {
            case R.id.btn:
                showPop();
                break;
            default:
                break;
        }
    }

    private void showPop() {
        new TestPopup(this).show();
    }
}
